﻿using Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IBLL
{
    public interface IHomeWorkBll
    {
        public Task<int> AddHomeWorkAsync(string title,DateTime publishTime,DateTime endTime,DateTime CreateTime, DateTime updateTime);
        public Task<int> UpdateHomeWorkAsync(Guid id, string title, DateTime publishTime, DateTime endTime,DateTime updateTIme);
        public Task<int> DeleteHomeWorkAsync(Guid id);
        Task<List<HomeWorkDto>> GetAll();
        public Task<HomeWorkDto> GetHomeWorkByIdAsync(Guid id);
        public Task<List<HomeWorkDto>> GetHomeWorkByNameAsync(string title);
    }
}
